package com.shop.loan.mapper;

import com.shop.loan.model.entity.LoanOrderAuthByMybatis;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LoanOrderAuthByMybatisMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LoanOrderAuthByMybatis row);

    int insertSelective(LoanOrderAuthByMybatis row);

    LoanOrderAuthByMybatis selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LoanOrderAuthByMybatis row);

    int updateByPrimaryKey(LoanOrderAuthByMybatis row);

    List<String> selectReasonUserByLast(@Param("userId") Long userId);

    LoanOrderAuthByMybatis selectFirstPassByOrder(@Param("orderId") Long orderId);

    List<String> selectReasonByOrder(@Param("orderId") Long orderId);
}